package us.bighelp2.marc.resources;

import java.io.Serializable;
import java.sql.Date;

@SuppressWarnings("unused")
public class Event implements Serializable
{
	private static final long serialVersionUID = 4477183162733564908L;
	private Integer eventId;
	private String name;
	private Integer eventTypeId;
	private Date startdate;
	private Date endDate;
	private Integer parentEventId;
	
	/* From the EventTypes table */
	private String eventType;
	private Integer eventOrgId;
	private String eventOrg;
	private Boolean requiresSignOut;
	
	public Event(Integer eventId, String name, Integer eventTypeId, Date startdate, Date endDate, Integer parentEventId)
	{
		this.eventId = eventId;
		this.name = name;
		this.eventTypeId = eventTypeId;
		this.startdate = startdate;
		this.endDate = endDate;
		this.parentEventId = parentEventId;
	}

	public Integer getEventId() 
	{
		return eventId;
	}

	public void setEventId(Integer eventId) 
	{
		this.eventId = eventId;
	}

	public String getName() 
	{
		return name;
	}

	public void setName(String name) 
	{
		this.name = name;
	}

	public Integer getEventTypeId() 
	{
		return eventTypeId;
	}

	public void setEventTypeId(Integer eventTypeId) 
	{
		this.eventTypeId = eventTypeId;
	}

	public Date getStartdate() 
	{
		return startdate;
	}

	public void setStartdate(Date startdate) 
	{
		this.startdate = startdate;
	}

	public Date getEndDate() 
	{
		return endDate;
	}

	public void setEndDate(Date endDate) 
	{
		this.endDate = endDate;
	}

	public Integer getParentEventId() 
	{
		return parentEventId;
	}

	public void setParentEventId(Integer parentEventId) 
	{
		this.parentEventId = parentEventId;
	}
}
